﻿
@using Abp.Extensions
@using Abp.Application.Services.Dto
@using KDS.Mes.Web.Areas.Mpa.Models.Common.Modals
@using KDS.Mes.Web.Areas.Mpa.Models.SeqJitManage

@model CreateOrEditSeqJitModalViewModel

@* 初始化头部 *@
@Html.Partial("~/Areas/Mpa/Views/Common/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(Model.IsEditMode ? (L("EditSeqJit") + ": " + Model.SeqJit.WORK_DATE) : L("CreateSeqJit")))


<!--html代码区域-->
<div class="modal-body">
    <form name="seqJitInformationsForm"   role="form" novalidate class="form-validation">
 <input type="hidden" name="Id" value="@Model.SeqJit.Id" />
 <div class="row>
            <!--<div class="alert alert-info fs16 bold mt10">分节标题</div>-->
            
               
	     <div hidden="hidden">           
            @if (Model.IsEditMode)
            {
                <input type="hidden" name="Id" value="@Model.SeqJit.Id"/>
            }
        </div>
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.WORK_DATE.IsNullOrEmpty() ? "" : " edited")" type="text" name="WORK_DATE" value="@Model.SeqJit.WORK_DATE"		maxlength="20"  />			
            <label>@L("WORK_DATE") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.wh_area_id.IsNullOrEmpty() ? "" : " edited")" type="text" name="wh_area_id" value="@Model.SeqJit.wh_area_id"		maxlength="20"  />			
            <label>@L("wh_area_id") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.ALC_CD.IsNullOrEmpty() ? "" : " edited")" type="text" name="ALC_CD" value="@Model.SeqJit.ALC_CD"		maxlength="20"  />			
            <label>@L("ALC_CD") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.SEQ_NO.IsNullOrEmpty() ? "" : " edited")" type="text" name="SEQ_NO" value="@Model.SeqJit.SEQ_NO"		maxlength="20"  />			
            <label>@L("SEQ_NO") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.BODY_NO.IsNullOrEmpty() ? "" : " edited")" type="text" name="BODY_NO" value="@Model.SeqJit.BODY_NO"		maxlength="20"  />			
            <label>@L("BODY_NO") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.TRIM_DATA.IsNullOrEmpty() ? "" : " edited")" type="text" name="TRIM_DATA" value="@Model.SeqJit.TRIM_DATA"		maxlength="400"  />			
            <label>@L("TRIM_DATA") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.SeqJit.IF_FLAG.IsNullOrEmpty() ? "" : " edited")" type="text" name="IF_FLAG" value="@Model.SeqJit.IF_FLAG"		maxlength="1"  />			
            <label>@L("IF_FLAG") </label>
        </div>
   
	                  
               
	    <div class="form-group form-md-line-input form-md-floating-label no-hint">
            <label>@L("CREATE_DTTM"):   </label>            
                <div class="input-group  date form_datetime">
                    <input type="text" name="CREATE_DTTM" value="@Model.SeqJit.CREATE_DTTM" readonly class="form-control">
                    <span class="input-group-btn">
                        <button class="btn default date-set" type="button">
                            <i class="fa fa-calendar"></i>
                        </button>
                    </span>
                </div>
        
        </div>
	                  
               
	    <div class="form-group form-md-line-input form-md-floating-label no-hint">
            <label>@L("SAVE_DTTM"):   </label>            
                <div class="input-group  date form_datetime">
                    <input type="text" name="SAVE_DTTM" value="@Model.SeqJit.SAVE_DTTM" readonly class="form-control">
                    <span class="input-group-btn">
                        <button class="btn default date-set" type="button">
                            <i class="fa fa-calendar"></i>
                        </button>
                    </span>
                </div>
        
        </div>
	                  
            </div>
    </form>
</div>
@Html.Partial("~/Areas/Mpa/Views/Common/Modals/_ModalFooterWithSaveAndCancel.cshtml")
 
